/* @(#)ToyDict.java v${project.version} 2011-6-7 下午06:24:25 
 * 
 * ${project.copyright.info}
 * ${project.copyright}
 * ==============================================================================================================*/
package toys.dict;

import java.util.Scanner;

/**
 * <p>Class description goes here.</p>
 * 
 * @see    java.lang.Object
 * @author caochuan@guahaoe.com
 */
public class ToyDictCUI {
	public static void main(String[] args){
		//rainbow is the sky  
		Scanner scanner = new Scanner(System.in);
		while(scanner.hasNextLine()){
			//System.out.println(scanner.nextLine());
			String action = scanner.nextLine();
			if("quit".equals(action)){
				scanner.close();
				System.out.println("Bye.");
				break;	
			}if(action!=null &&action.startsWith("what is")){
				//if(){
					System.out.println("I really don't know.");
				//}
			}if(action!=null &&action.startsWith("tell me")){
				System.out.println("I can't tell you.");
				
			}else{
				System.out.println("Error action.");
			}
		}
	}
}
